-
Notifications
You must be signed in to change notification settings - Fork 624
[Common,PWGHF] Complete the charmed hypernuclei search and add light-nuclei track-quality cut to the skimming task #14390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
… of light nuclei in the skimming task
|
O2 linter results: ❌ 25 errors, |
fgrosa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @zhangbiao-phy thanks a lot for the development! I still didn't check the full PR in detail, but I have a couple of important comments to be kept in mind
[PWGHF] Please consider the following formatting changes to AliceO2Group#14390
|
hi @vkucera, could you take a look my commits for your comments? Thanks a lot |
| Configurable<bool> useIsQualityTrackITSForSoftPion{"useIsQualityTrackITSForSoftPion", true, "check qualityTracksITS status for soft pion tracks"}; | ||
| // proton PID, applied only if corresponding process function enabled | ||
| Configurable<LabeledArray<float>> selectionsPid{"selectionsPid", {hf_presel_pid::CutsPid[0], 5, 6, hf_presel_pid::labelsRowsPid, hf_presel_pid::labelsCutsPid}, "PID selections for proton / kaon / deuteron applied if proper process function enabled"}; | ||
| Configurable<LabeledArray<float>> selectionsPid{"selectionsPid", {hf_presel_pid::CutsPid[0], 7, 6, hf_presel_pid::labelsRowsPid, hf_presel_pid::labelsCutsPid}, "PID selections for proton / kaon / deuteron / triton /helium applied if proper process function enabled"}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't hard-code the dimensions.
| constexpr int ChannelsTritonPid = ChannelsProtonPid::NChannelsProtonPid + 2; | ||
| constexpr int ChannelsHeliumPid = ChannelsProtonPid::NChannelsProtonPid + 3; | ||
| constexpr int NChannelsPidFor3Prong = static_cast<int>(ChannelsProtonPid::NChannelsProtonPid) + static_cast<int>(ChannelsKaonPid::NChannelsKaonPid) + static_cast<int>(ChannelsLightNucleiPid::NChannelsLightNucleiPid); | ||
| enum class ChannelsNucleiQA : int { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| enum class ChannelsNucleiQA : int { | |
| enum class ChannelsNucleiQA : int { |
Thanks for addressing my comments. I have added a couple more suggestions. |
Tag @fgrosa for the informations